﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineMovieTicket.Services.IServices
{
    public interface ITransactionService
    {
        List<Model.TransactionDetail> getMovieBookingDetail(int movieTimeTableId);
        void resetPendingBooking();
        void bookMovieTicket(Model.TransactionDetail transactionDetail);
        void updateTransactionTime(int transactionID);
        List<Model.TransactionDetail> getCinemasMovieDetail(Model.TransactionDetail movieDetail);
        List<Model.TransactionDetail> getCheckBookingByNric(String nric);
        List<Model.TransactionDetail> getCheckBookingByVerificationID(int verificationID);

        Model.TransactionDetail saveTransaction(int transactionId, String seatNum, String status,int movieAssignId);

        Model.TransactionDetail getMovieDetail(int movieAssignmentID);
        Model.TransactionDetail getTransactionDetail(int transactionID);
        int getTransactionNum();
        Model.TransactionDetail saveTransaction(int movieAssignId);
    }
}
